A US federal judge ruled that the Kennedy Center was illegally renamed after President Donald Trump, ordering his name removed within 14 days.