Measurement of the Bs0→J/ψη lifetime