Anomalously slow relaxation of a nonwetting liquid in the disordered confinement of a nanoporous medium