Constraining a general U(1)′ inverse seesaw model from vacuum stability, dark matter, and collider