The lawsuit, filed in federal court in Washington by NPR and other public radio organizations, said President Trump’s executive order violated the Constitution and the First Amendment.