Lyapunov stability of ideal stratified fluid equilibria in hydrostatic balance