SALT: Step-level Advantage Assignment for Long-horizon Agents via Trajectory Graph