Legislation moving control of New York City’s speed limits from the state to the city has been folded into the overdue state budget — in a long-sought win for street safety advocates — lawmakers said Thursday. The measure would allow the city to set speed limits as low as 20 mph on most streets and…