Evolution of the lunar orbit with temperature- and frequency-dependent dissipation