Probing the universality of topological defect formation in a quantum annealer: Kibble-Zurek mechanism and beyond