As marathon participation declines, more people are signing up for extreme events such as Spartan and Tough Mudder.