Hot water has potentially a much larger surface, as the molecules all have the brownian energy to escape the fluid bonds and cool the remainder down doing so.
So given a big enough surface (turn it into a foam) should allow it to dissipate the heat much faster, then a liquid, were the energy first has to do a slightly chaotic thermodynamic walk to the surface (away from gravity), aggregate with other local energy spikes into one spike big enough to eject a molecule from the bonds and allow energy to escape.
Sending soundwaves through the liquid that intersect with each other creating cavitys, aka foam would also help.
So given a big enough surface (turn it into a foam) should allow it to dissipate the heat much faster, then a liquid, were the energy first has to do a slightly chaotic thermodynamic walk to the surface (away from gravity), aggregate with other local energy spikes into one spike big enough to eject a molecule from the bonds and allow energy to escape.
Sending soundwaves through the liquid that intersect with each other creating cavitys, aka foam would also help.