Decoherence and Landauer's Principle in Qubit-Cavity Quantum-Field-Theory Interaction