Fix typos in doc/lua-api.txt