L3DMC: Lifelong Learning using Distillation via Mixed-Curvature Space