I don't think the LM used wax for thermal management, but the Lunar Roving Vehicle did, as a "thermal capacitor" [1]. That is, heat was stored in a block of wax while driving, and then radiated away between uses.
[1] https://en.wikipedia.org/wiki/Lunar_Roving_Vehicle#Wheels_an...