In any economy there will be sectors that experience rapid growth and sectors that don't. The former will raise salaries, the latter will be impacted, because people have choice. With raising salaries you get raising rents, and this teachers get priced out.
Don't disagree that mining has caused property and rental prices to grow. Other factors in Australia are mandatory superannuation, with large funds buying up real estate, and also generous tax cuts for property investment.
This doesn't explain why Australia hasn't significantly invested in education in the last few decades.