As it stands the incentives are perverse, in most places the teachers in affluent districts working under the best conditions with the easiest to teach students are the most highly paid.
If teachers and adminsitratorshad to produce improvement in test scores to increase their income, and the greater the improvement the greater the increase, market forces should re-direct teaching talent to the places were the greatest improvement is possible, the schools and students with the lowest current relative performance.
Of course, it might be that no matter how motivated and skillful the teachers and administrators their efforts would be overwhelmed by other factors,
But if so, we would at least have a convincing demonstration of the limits of schools in effecting such improvements, and to move on with greater confidence to other sorts of efforts.