A man is in hospital and a fire is extinguished as police are deployed to quell rising tensions at an immigration detention centre in Western Australia.