Perth to undergo an urgent workplace culture investigation after Lord mayor calls unexpected motion at meeting