You need to compile wireguard as one package in openwrt. You need to compile them together. So if there are some some kernel modules there is no kernel mismatch problems.