Compositional Event Structure Semantics for the π-Calculus