Numerical analysis of the deterministic particle method applied to the Wigner equation