A generalized distance and enhanced Ekeland’s variational principle for vector functions