Stability of a steady front for the water-vapor phase transition in geothermal reservoirs