I think friendships are important, but it's hard to know in advance where the friendships will come from. Can you get a graph of SAT scores from both scores? The means will tell you something, but the tail will tell you more.
What kinds of colleges do kid in the high tail at either school attend, that will also give you some insight.
I wouldn't worry about your child "going wild" in college, since I don't think there is any data on way or the other about what the causes or antecedants of "going wild" are. My guess is that your son is going to have to "cast a wider net" than either high school for friends who get him.
OTOH - active clubs and afterschool activities are another possible way to choose. See if you and your son can sit in on meetings of the Math Clubs and Chess Clubs of both high school. If you bring the pizza, you may get the info you need.
If you son doesn't seem responsible enough to go away to college at HS graduation you'll have to face that when the time comes. How many normal children are "close enough" to ready when they go away to college? Apparently many parents see college as a time when it is safe and appropriate for their children to "go wild." I strongly disagree.
Best Wishes - There are sure to be advantages and disadvantages with either path.
Trinity