U.S. court rejects Trump bid to stop transgender military recruits on Jan. 1