A bill to install cameras has landed on the governor’s desk at a moment when pedestrian deaths are spiking nationwide.