A generalized Lyapunov inequality for a higher-order fractional boundary value problem