Electro-mechanical control of an on-chip optical beam splitter containing an embedded quantum emitter