Shares of UiPath fell sharply after hours on Wednesday after the business-automation software platform forecast sales for the year ahead that came in below Wall Street’s expectations.