Tory Lanez allegedly opened fire on Megan Thee Stallion because he was wasted -- that's what he claimed in a text sent to her shortly after the bloody incident ... as she was still in a hospital bed. TMZ has seen the text Megan got on the evening…