Optimal Latent Vector Alignment for Unsupervised Domain Adaptation in Medical Image Segmentation