Fermion-parity anomaly of the critical supercurrent in the quantum spin-Hall effect