A high energy resolution modulated GaAs photoelectron source