New York City’s Comptroller and mayoral candidate Brad Lander was arrested by masked federal agents as he challenged them over the arrest of a migrant at an immigration court.