Finding the semantic similarity in single-particle diffraction images using self-supervised contrastive projection learning