Union leaders were joined by Gov. Hochul, Mayor Mamdani and others to defend migrant rights