The attack comes as Wu prepared to defend the city's approach to immigration enforcement before Congress next week.