Curvature controlled defect dynamics in topological active nematics