The Centre Square office complex is being sold, and its new owners plan to convert most of the space into a hotel and apartments.