An energetic state functional for saturated granular systems: Static enthalpy equilibrium as a criterion for stability and liquefaction | Synapse