LONG-LASTING X-RAY EMISSION FROM TYPE IIb SUPERNOVA 2011dh AND MASS-LOSS HISTORY OF THE YELLOW SUPERGIANT PROGENITOR