A federal judge struck down part of Trump’s order cutting NPR and PBS funding, calling it viewpoint discrimination and a First Amendment violation.