There are some disciplines in teaching which are easier to improve than others. There are some local Bay Area schools with an excellent standard for performance, with a near-majority of students in the fastest math track and with about half the math faculty as Calculus teachers.
I can't imagine any teacher who enjoys math who'd want to join a school district where the kids don't like learning and where the teacher has to basically be a second parent. A higher salary wouldn't fix that specific problem.
What about a billion dollars a year? I'll bet you get the #1 teacher in the world for those conditions who performs near miracles and wants to be in that environment, as well.
I can't imagine any teacher who enjoys math who'd want to join a school district where the kids don't like learning and where the teacher has to basically be a second parent. A higher salary wouldn't fix that specific problem.