Contrastive Identification of Covariate Shift in Image Data