American fifth seed Sloane Stephens was upstaged by Leylah Fernandez, who rallied past the 2017 US Open champion in three sets midweek.