Hilton Worldwide delivered better-than-expected earnings as it navigates a challenging backdrop for the hospitality industry.