N-2 Risk in Power Grids from Influence Graphs