The acquisition of Medline Industries Inc. that was agreed to over the weekend, the biggest leveraged buyout in more than a decade, serves as the clearest sign yet that the appetite for megadeals is rising as the pandemic eases and private-equity firms look to deploy mountains of cash.