xfree86: Fix event data alignment in inputtest driver

This fixes address sanitizer errors when running unit tests. The
additional copying may reduce performance by a small amount, but we
don't care about that because this driver is used for testing only.

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
(cherry picked from commit 7d2014e7)
5 jobs for server-21.1-backports in 6 minutes and 43 seconds (queued for 1 second)