A Lancashire dairy farmer has joined forces with Greenpeace to launch a legal challenge to fracking in England.