You're right, it's unobtainable.
Donphan could only learn Stealth Rock in Black 2 and White 2, via the Move Tutor. Of course, you can get a Donphan there and learn it Stealth Rock, then trade it to X and Y via the PokeTransfer, which is bound to come soon.
Hope I helped. :)