So, you use a pulldown on a GPIO pin, when sleeping it is tristate and the pin is pulled low. When running you output high, overriding the pulldown and the pin is high.
Now simply connect the switch between that pin and RST. When running it does nothing since the RST is pulled high. When sleeping, the switch pulls RST low.
Now simply connect the switch between that pin and RST. When running it does nothing since the RST is pulled high. When sleeping, the switch pulls RST low.