Booming production of oil and natural gas has exacted a little-known price on some of the nation’s roads.