Detection of extragalactic Ultra-Compact Dwarfs and Globular Clusters using Explainable AI techniques