Metadata-Aligned 3D MRI Representations for Contrast Understanding and Quality Control