X-FEM modeling of dynamic ductile fracture problems with a nonlocal damage-viscoplasticity model