You don't want to use the PBP sleep command on any
PIC that generates a "device reset" on wake-up via the
WDT.

GPIO stays at logic 0 because the WDT timeout causes
a device reset after the 1st sleep period expires.

Try replacing sleep with a short pause, and see if it works.