A federal judge handed President Donald Trump another loss in court this week in a ruling on a case involving a fired member of a board that supervises labor disputes.