A District of Columbia federal judge on Friday tossed out a defamation suit filed by the presidential campaign of ex-President Donald Trump against the Washington Post.