You should mention the timeout period you're trying to detect!
Pin input leakage current is 50nA typ. (About 20MOhm) so you can use 1M or even 4M7.
Skip the discharge resistor, as the pin ESD diode will do the same job through the input resistor, behaving similar to a diode connected to gnd when there's no power (Discharged VDD), but only for very small currents!
Definitely few uA won't cause any issues. Few mA might power the VDD rail if the load is very small. Obviously, currents larger than the absolute ratings (40mA) will damage the diode, usually shorting that pin to VDD/GND depending on the damaged diode.
To use the ADC with high impedance inputs, add a small cap (1-10nF) next to the pin (C1 here), so the adc sampling capacitor (Typ. 8pF) gets charged very fast.
Otherwise, the ADC adquisition time will need to be increased. In this example, 5RC = 5*3.3M*8pF = 132us, add a bit more because you never know, 200us. (Still, 200us is probably ok here?)
With that 1-10nF cap, the energy is readily available, so transfered almost instanty, maybe in 10-20us, depending on the internal switch resistance and other adc characteristics.
Or you could simply use it as digital GPIO input, knowing VIL is max 0.3 x VDD (You'll have to test this out?), you only need to adjust the capacitor and/or the resistor, then if the pin reads 0, timeout!
Thought not providing any way of adjustment like adc + software does.