Survey of Graph Neural Network for Internet of Things and NextG Networks