Entanglement Dynamics of Ising Model with Dzialoshinskii-Moriya Interaction in an Inhomogeneous Magnetic Field