A midlevel New York appeals court on Thursday rejected an attempt by Donald Trump to vacate the remaining provisions of a limited gag order imposed during his Manhattan criminal trial.