Trump had already alienated many state voters with his plans to build a costly and unnecessary border wall, revoke the health insurance of millions of low-income people and gut climate-change policies.