Measurement of parity violation in electron-quark scattering