A remote school 500km south-east of Perth is struggling to retain staff as housing pressures force incoming teachers to live far from work.