D-alanine-D-alanine ligase activity of D-alanine--D-alanine ligase [cytosol]