Enhancement of the g-factor and spin-density wave state in a confined 2DEG in the quantum Hall regime