It's difficult to say whether we hear the difference or not. That will depend on the accent of the speaker. In standard British English, the initial sounds (wr and r) are the same but the d and t sounds are not the same. When said quickly they could sound similar. In other accents, they may be pronounced the same way. It depends.
In practice, they'd never be misheard because there wouldn't be a context in which either word is possible. They would have totally different objects - there are no things which people both write and ride.