Clustering-Based Validation Splits for Domain Generalisation