Statistical physics analysis of graph neural networks: Approaching optimality in the contextual stochastic block model | Synapse