Measurement of parity-violating asymmetry in electron-deuteron inelastic scattering