Pennsylvania, the nation’s second-largest natural gas producing state after Texas, is poised to potentially decide an important issue in the evolving law of trespass and hydraulic fracturing.