Early selection of the amino acid alphabet was adaptively shaped by biophysical constraints of foldability