With occupancy nearing decade highs, hotels are moving beyond simple discounts to build expansive loyalty ecosystems that turn repeat customers into their most valuable asset.