Arizona’s public schools have lost tens of thousands of students since 2016, the result of declining birth rates, an aging population and rising housing costs.