Ram-Pressure Stripping of Galaxies in High-Redshift Clusters and the Influence of Intracluster Medium Heating