lua: Add basic support for renderer discovery