Cluster-based learning to describe disordered metal-organic frameworks at the mesoscale