Food-delivery companies DoorDash Inc, Grubhub Inc and Uber Eats have sued New York City over a legislation to license food-delivery apps and to permanently cap commissions they can charge restaurants. The three food-delivery companies filed a lawsuit in federal court in New York late on Thursday. The companies are seeking an injunction that would prevent…