Nearly a third of the nation’s cities are laying off workers this year. More than half have canceled or delayed infrastructure projects. And two out of five have raised their fees.