A class-action lawsuit is challenging the emergency-removal practices of New York’s Administration for Children’s Services.