How can I both insulate and get a latch to work on this window? Foam kerf insulation strips
Why not just add a piece of blocking behind the latch and move the latch receiving hole into the kerfed board?  You could paint the blocking black or something that matches the latch hardware.