Trump officials fending off a legal challenge over the president’s planned ballroom argue the project is a matter of national security.