Semileptonic and leptonic charm meson decays at Belle II