Heat kernel for Newton-Cartan trace anomalies