Apparently someone had the same issue and they could not figure out a solution. So the WireGuard implementation has been broken and will be broken for the foreseeable future in 24.1+. Oh well, I guess I'll keep using 23.7 indefinitely.
https://github.com/opnsense/core/issues/7364
https://github.com/opnsense/core/issues/7364