A study of 10,000 school districts shows how local norms help grow or shrink gender achievement gaps.