Federal judge dismisses fracking lawsuit