Snapchat’s disappearing messages led to lawsuits and an investigation into claims that the company facilitates fentanyl sales through its platform.