Teachers in major metro school systems already have quite a good deal. Rural schoolteachers really do have the deal everyone heard about in 1990s politics, but urban schoolteachers are generally economically privileged.
(That doesn't mean they aren't impacted by housing scarcity in ways that disrupt the administration of school systems; they are. But the problem isn't compensation, the problem is corrupt regulation written to prop up homeowner assets.)
The other half of this is that with declining enrollment city school districts are finding themselves with a lot of land. They don't feel any pressure to sell the land. Nor do they feel any pressure to use it for other government services.
I genuinely need to see what data you're citing with this statement. Until recently, I worked in education and often worked with urban schools. Starting salaries of 55-60k/year living in a major metropolitan area is not what I would call economically privileged.