China guided the yuan higher at the sharpest pace since 2005 on Friday in a move attributed to the dollar’s weakness.