President Trump retains the loyalty of his core supporters, but Republican candidates in competitive races are increasingly looking for ways to distance themselves from the White House.