Representative Image Feature Extraction via Contrastive Learning Pretraining for Chest X-ray Report Generation