Unsupervised Graph-based Learning Method for Sub-band Allocation in 6G Subnetworks