Since the backlight is hardwired to 3.3V, there is nothing you can do in code to turn it off. If you want to be able to turn it off, you will have to modify the wiring but cutting a trace and putting in transistor tied to one of your pins so you can turn it on/off.