Interfacial gliding-driven lattice oxygen release in layered cathodes