Search for stop production in R-parity-violating supersymmetry at HERA