test/state: fix missing xkb_state_unref

Signed-off-by: Ran Benita <ran234@gmail.com>