Non-universal Z′ from SO(10) GUTs with vector-like family and the origin of neutrino masses