Conductivity of an electron coupled to anharmonic phonons: Quantum-classical simulations and comparison of approximations