As they push for big cuts in Medicaid and food stamps, Republicans are making a big bet that they can avoid political backlash from working-class supporters who increasingly rely on those programs.