Watersheds in disordered media