Twitter blamed disappointing results Friday on “headwinds,” including the uncertainty imposed on the company by Elon Musk’s chaotic buyout bid.…