SSH, wscons(4), or other means of terminal access do not fall under
the X11 configuration. One means to configure the resulting shell of
such access methods is to set suitable environment variables in the
shell configuration. Assuming ksh(1), a typical way to do this
would be to set
export ENV=/home/user/.kshrc
in ~/.profile and then in the ~/.kshrc file set the necessary
export LC_CTYPE=... value. Other shells (e.g. fish or zsh) will
vary in how and in what file environment variables are set, check their
manual for details.
Another method would be to create a new (or configure an existing) login
class to set suitable environment variables for the user(s) in question;
see setenv under login.conf(5). doas.conf(5) may also need (a
different) setenv if the locale settings need to work as another user.