Smart surface in pool boiling: Thermally-induced wetting transition