High court: Ohio can retroactively alter funding for schools