Measurement of charged pion, kaon, and proton production in proton-proton collisions at sqrt(s) = 13 TeV