I patched that script in set_lan_relay() the same way as you did, but as values I use:

uci set dhcp.lan.dhcpv6="server"
uci set dhcp.lan.ra="server"
uci set dhcp.lan.ra_management="0"
uci set dhcp.lan.ndp="disabled"

I am not sure about (better: have not double-checked) the consequences of the first option, the one about DHCPv6: uci set dhcp.lan.dhcpv6="disabled"? With above commands, the flag O(ther) is set in the Router Advertisements (IPv6 RAs). That means, LAN clients have to ask the DHCPv6 server for DNS but not an IPv6 address (IA_NA). That works. However, IPv6 clients exist which ignore IPv6 RAs and always ask DHCPv6 server for their IA_NA. Such clients can be considered broken – given them no IPv6 is better than creating chaos later, when the prefix changes. This is the way most of my other IPv6 routers are configured (on default). The DHCPv6 server is not stateful even if asked. I am not sure if that direct asking is blocked because of one of the other options or works and the DHCPv6 server still hands out IA_NA.

Same with IPv6 Prefix Delegation (DHCPv6-PD) in the LAN. I do not know if that works with the above. Furthermore, does that get blocked when I go for uci set dhcp.lan.dhcpv6="disabled"? The AVM FRITZ!Box, for example, allows DHCPv6-PD to be enabled optionally, without enabling the DHCPv6 server to hand out IA_NAs.

Consequently, there is still some double-checking and testing involved, especially because with OpenWrt 21.02 you have two branches now. I am still on OpenWrt 19.07. Although I love to help, it is not my job, to do all your testing. Again, this is something to chat with the OpenWrt community, I guess. I am not even sure the defaults on the Wiki match the defaults in code. Beside not being sure if they use good defaults.