Vector solitons of a one-dimensional spatially inhomogeneous coupled nonlinear Schrödinger equation with a double well potential