A bone-shattering accident in his first year as a pro left Tom Gloag fighting to save his career – but save it he did