Chandler Self, a psychiatrist in New York City, was leading in the race before her legs started giving out in the final stretch.