Court battle unites native title holders and pastoralists against fracking