Hartman–Wintner‐type inequalities for a class of nonlocal fractional boundary value problems