Say what? Stoplights are paid for by taxes.
You are right. As far as I know, cities pay for traffic signal energy through their franchise agreements. There is no billing mechanism for off-gridders to pay for "social" electricity.
Not today anyway.
They still use the grid.