Hyatt Hotels Corporation has confirmed an agreement to acquire the all-inclusive resort company Playa Hotels & Resorts and its 24 properties for $2.6 billion.