Judge Altham, who previously issued ‘manifestly excessive’ sentences to anti-fracking activists, is set to determine whether the offences carry a ‘terrorist connection’