Dynamics of a trapped ion in a quantum gas: Effects of particle statistics