BATH, NH—Todd Gallagher, 18, looked out over the sweeping valley of unbroken trees and vowed to get out of this hickshit town.