For ECC, it is better to use KEM API, so that the implementation is more coherent.
I looked the code and figured out that we don't need to change the protocol between gpgsm and gpg-agent (the KDF parameters are sent to gpg-agent too as well as the encrypted session key).
Simply it is enough tol move the work of ECDH KDF things from gpgsm to gpg-agent.