Free-electron interactions with van der Waals heterostructures: a source of focused X-ray radiation