A federal appeals court Friday refused the Trump administration’s request to lift a judge’s order that officials reinstate teacher preparation grants in eight Democratic-led states that sued.