Make sure the kernels and kernel headers that you are running match those from when you installed the WireGuard packages. If not, then upgrade them.
Try rebooting to see if the kernel module loads correctly: in a terminal, issue sudo modprobe wireguard && lsmod | grep -i wireguard.
Try installing and compiling the WireGuard source. Distribution packages sometimes don’t set things up correctly.