Handle non-email arguments in `Idna::encodeEmail()` (see #6241)