Just hours later, journalists from The New York Times and several other news organizations were prohibited from attending a briefing by Mr. Trump’s press secretary, a highly unusual breach of relations between the White House and its press corps.