Research from around the world shows that boosting teacher pay can lead to better student learning, but only if it’s accompanied by other things