Entanglement Dynamics of Two Spin Qubits in a Spin Environment with Nonuniform Coupling