Contrastive Cross-Modal Learning for Infusing Chest X-ray Knowledge into ECGs