Capillary stress and structural relaxation in moist granular materials