Inclusive parton cross sections in photoproduction and photon structure