Enrichment and Heating of the Intracluster Medium through Galactic Winds