High court allows trump to cut teacher-training money amid legal battle