Three news media outlets barred from the White House have sued US President Donald Trump's administration.