diaminopimelate epimerase activity of diaminopimelate epimerase (LOC_OS12G37960.1) [plastid stroma]