Thermoelectric Properties and Carrier Localization in Ultrathin Layer of Nb‐Doped MoS2