Second-order decoherence mechanisms of a transmon qubit probed with thermal microwave states