Yes, that is indeed a tricky voicing of the D chord and you are in good company of people who can't quite get the high A to sound consistently. Some folks have a flexible enough ring finger to bar the 2, 3 and 4th string and still sound the first but not many!
I would recommend either not worrying about the high A; it's not critical! Or, if you really want to hear that note you can also move the voicing up to the 10th fret and play the D like so;
5th string 12 fret (optional)
4th string 12 fret
3rd string 11 fret
2nd string 10 fret (here's your high A)
This involves more moving around the neck of course, but if this is to your liking you could also re-voice the A minor as follows:
5th string 12 fret
4th string 10 fret
3rd string 9 fret
Try it all out, good luck and have fun!! :)
Cheers, Tom