In major cities and small towns, crowds gathered to protest President Donald Trump’s immigration policy, galvanized by images of migrant children separated from their parents.