A mixed response underscores the political challenges some of the largest Democratic enclaves are facing as they confront Trump’s toughened immigration actions.