The UK spy agency’s Tempora project is under scrutiny by regulators as part of a hearing demanded by civil liberty groups.