Neural Bayes Estimators for Irregular Spatial Data using Graph Neural Networks