Semiconductor channel-mediated photodoping in h-BN encapsulated monolayer MoSe2 phototransistors