How states fund their schools may matter more in the coming years as the Trump administration prepares to change the federal government’s role in education spending.