Fix setting curve in certificate creation dialog
There's a mismatch between "curve25519" and "ed25519" (similar for 448) here, which causes the data to not be found.
This is noticable when curve25519 is selected when clicking "retry" after a failed key generation
- GnuPG-Bug-ID: T7365