The Discrete Bootstrap for Quantum Thermodynamics