Scholars have found that teacher salaries are linked to employee retention and that higher pay may draw smarter people to the field.