Bend the lead up and let’s have a look what’s going on.
The correct detailing is a pre made GRP upstand is fitted against the wall, the flat roof Fibreglassing goes across the flat roof area and up the upstand.
Then lead flashing is dressed down over the upstand.
But in your image the lead dresses down to a flat - what is that, does the fibreglass go up a slope behind.
I wouldn’t assume the leak is the roof, it could be a leak getting in the window above and running down the cavity - there are no weep holes so I guess there’s no cavity trays (assuming it’s not a solid wall).