High-dimensional Fourier transform of twisted light