The ruling comes amid legal battle over Trump’s changes to the Kennedy Center, including his effort to rename it.