postgres_fdw: Replace WAIT_EVENT_EXTENSION with custom wait events