feat(bindings/lua): expose io_state object in the Lua API

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>