Historic XTO Energy Building will be converted to a hotel