Events in the days leading up to America’s presidential election provided a stark illustration of the struggle. Among senior aides to Republican challenger Mitt Romney, a belief developed that he was on the cusp of victory.