Undo changes to World::SetLocalPauseState to unbreak Lua

Fixes #5864.
Merge pull request #5862 from obrakmann/fix-lua-pausestate

Old Lua: use the correct method to set the pause state