 Asana Inc. shares rallied in the extended session Wednesday after the collaboration-software company raised its outlook for the year, following results that topped Wall Street expectations, and disclosed its chief executive bought 350 million in shares. 