Box Inc. reported quarterly results Tuesday roughly in line with analysts’ revenue and earnings estimates, but offered tepid sales guidance.