Donald Trump has reacted angrily after a judge ordered a halt to construction of his $400m ballroom at the White House.