A Lyapunov-type inequality for a two-term even-order differential equation