Electronic transport in two-dimensional transition metal dichalcogenide MoS₂ under photoexcitation