Quantum dissipation driven by electron transfer within a single molecule investigated with atomic force microscopy