Numerical simulation of the liquid-metal jet formation and droplet pinch-off in the cathode spot of a vacuum arc