A federal judge on Thursday sharply questioned the Kennedy Center’s plans to add President Donald Trump’s name back to its building in coming weeks and expressed frustration that it could happen before he decides whether the move is legal.