First, are you sure it's the latch, not the cable?
Assuming it's the latch, it seems none of WD-40, chain lube, PTFE, and spray grease (plain or lithium) will serve the purpose.
I'm calling in the cavalry. Since this is a case of cold, metal on metal friction under pressure (see the...