Vector Well-posedness of Optimization Problems and Variational Inequalities