Added Media.AddChatLine to the new Lua API

Unmerged part of https://github.com/OpenRA/OpenRA/pull/5469.
These checks will be unnecessary with the above change.