Water-mediated reconfigurable topology and mechanics in porous peptide materials