J/ψ production as a function of charged-particle multiplicity in p-Pb collisions at √sNN = 8.16 TeV