Not so long ago, Afghanistan was the Saudi Arabia of horses. But technological change led to its rapid decline.