Recovering Latent Linkage Structures and Spillover Effects with Structural Breaks in Panel Data Models