A judge has ordered Donald Trump’s administration to stop airing taxpayer-funded TV adverts featuring the president which have been criticised as political propaganda.