Most of the time it's easier to reinstall. I generally recommend setting systems up in a way that the data is independent from the system itself and can easily be moved or reinstalled.
But if you want to give it a shot, try mounting all the local partitions in their intended locations and tar it up to use as "template".
How you do that depends on the disk... most likely you'll want to use qemu-nbd (or losetup if you're just using raw files instead of qcow2 images), run partprobe and/or pvscan etc. on the devices to discover partitions, LVM structures etc., then mount the system to some location, and then use `tar czpf /var/lib/vz/template/cache/some-name.tar.gz -C /path/to/mountpoint .`, then use the 'some-name.tar.gz' template when creating a new container. Or you copy the data directly to an ext4 formatted raw image and create the config in /etc/pve/lxc manually (or create an empty dummy container first and update its disk - you can even mount it with `pct mount`, delete its contents and replace them with the data you mounted from the KVM, via cp or rsync or something. If the KVM is a single ext4 partition itself you might even get away with dd-ing the partition over the container's raw image.
This information is completely untested and might not work and/or break things.
(And PS: You most definitely do not want to do this while the VM is running.)