Wild pitch helps Nats beat Reds 3-2 in 10 innings