I haven't found a way to automate this so instead I have to do this manually.
In Preferences > Keyboard > Keyboard
* Deselect "Adjust keyboard brightness in low light"
This setting doesn't seem to be modified even after I save the output of defaults read before and after changing it.