Topological pumping in class-D superconducting wires