Recovery of equilibrium free energy from non-equilibrium thermodynamics with mechanosensitive ion channels in E. coli