Use next-state instead of state in xah-cycle-letter-case; simplify the
cond statement