Constraining heavy axion-like particles by energy deposition in Globular Cluster stars