An Edinburgh vet has become the first woman to win one of the world’s toughest endurance races, breaking the course record by 12 hours in the process.