Measurement of electrons from heavy-flavour hadron decays as a function of multiplicity in p-Pb collisions at √sNN = 5.02 TeV