Snap Inc. reported quarterly revenue and user growth that topped analysts’ estimates, lifted by advertisers’ stepped-up spending and consumers’ increased use of their phones for messaging and entertainment during the pandemic. The shares soared in extended trading.