Judge upholds DC gas hookup ban