Speed skater Erin Jackson lost a chance at gold — until her teammate stepped in