New York City’s yellow cab drivers, thrown into financial upheaval in recent years by the arrival of a veritable army of black cars picking up passengers through ride-hail apps, could be getting a lifeline from elected officials voting on legislation that would pump the brakes on Uber, Lyft and others.