The biggest franchisee of Pizza Hut and Wendy’s locations struck a deal to sell its assets to several new companies, a move expected to affect more than 1,300 fast food restaurants nationwide that illustrates the property ownership shift stemming from fewer diners in the pandemic.