The Trump administration filed a lawsuit against Boston and Mayor Michelle Wu, saying the city’s policy not to cooperate with immigration enforcement officials on non-criminal matters violates federal law.