Bound states for a Coulomb-type potential induced by the interaction between a moving electric quadrupole moment and a magnetic field