Estimation of spatio-temporal extremes via generative neural networks