Experimental Study of Structured Light Using a Free-electron Laser Oscillator