Enhancing Internet of Things Security throughSelf-Supervised Graph Neural Networks