Roark Capital is buying Subway, ending the sandwich chain's more than five decades of family ownership and marking a new era for the struggling company. The announcement Thursday ends the chain's lengthy sale process, which publicly kicked off in February.