Critical behaviour of the stochastic Wilson-Cowan model