UiPath’s stock on Friday was easily cruising toward its best day on record, as Wall Street cheered the automation-software company in the wake of an earnings beat.