Pion structure from lattice QCD