CSI: Contrastive Data Stratification for Interaction Prediction and its Application to Compound-Protein Interaction Prediction