Metalens-array–based high-dimensional and multiphoton quantum source