What do you use to minimise?
I don't think there is a discrete method of maximising kodi. There is a full screen toggle. Backslash.
You can use the action xJson.Btn.KB. backslash
The existing standard configuration includes a command for this called "toggle window"