Resonant excitation of a nanowire quantum dot and optical frequency shifting via electro-optic modulation