Snowflake Inc. gave a sales outlook for the fiscal year that topped analysts’ estimates, overcoming anxiety that software vendors will be hurt as the economy slows and new artificial intelligence companies take away business. The shares jumped in extended trading.