ALBANY— A New York court decision has bolstered a movement among towns determined to prevent the controversial practice of hydraulic fracturing for natural gas within their borders.