qemu: remove input device after receiving the event
qemu: remove input device after receiving the event

Also call qemuDomainRemoveInputDevice if we receive the
event after the Detach API ends.

Commit 67486bb failed to include this.

https://bugzilla.redhat.com/show_bug.cgi?id=1524837
Signed-off-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Reviewed-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>

jardasgit/libvirt,olafhering/libvirt,jardasgit/libvirt,jfehlig/libvirt,andreabolognani/libvirt,libvirt/libvirt,eskultety/libvirt,jardasgit/libvirt,libvirt/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,libvirt/libvirt,eskultety/libvirt,nertpinx/libvirt,libvirt/libvirt,eskultety/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,jardasgit/libvirt,zippy2/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,crobinso/libvirt,crobinso/libvirt,olafhering/libvirt,nertpinx/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,crobinso/libvirt,olafhering/libvirt,zippy2/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,zippy2/libvirt,eskultety/libvirt,crobinso/libvirt,jfehlig/libvirt,jardasgit/libvirt,eskultety/libvirt,nertpinx/libvirt,andreabolognani/libvirt,nertpinx/libvirt,olafhering/libvirt,zippy2/libvirt