A federal judge ruled the president needs congressional approval to continue his White House ballroom project