Unsupervised Resource Allocation with Graph Neural Networks