i read that james came in to shoot one day and he had be clocked in the eye the previous night at a bar, and joss decided to incorporate it into his character thinkin it would make him look cooler or something...there was no point in the show where he got it, he just appeared with it, and as for a vamp explanation, you can say he got the scar before he turned into a vamp..