Detecting heat leaks with trapped ion qubits