Altria Group Inc.’s stake in beer behemoth Anheuser-Busch InBev NV proved a boon in the final quarter of the year as cigarette volumes continued to wane and market share in the company’s lead segment remained flat.