Data-driven Power Loss Identification through Physics-Based Thermal Model Backpropagation