Republicans up and down the ballot have also galvanized around a central 2020 messaging strategy focused on branding Democrats as far-left lovers of socialism. Months of that groundwork is now, at least in part, set back by the president’s own comments.