Transverse momentum dependence of inclusive primary charged-particle production in p–Pb collisions at √s = 5.02 TeV