Convergence of two-timescale gradient descent ascent dynamics: finite-dimensional and mean-field perspectives