There are many online discussions of weighted GPA, most in regard to college admissions.
In addition to considering GPA, institutions may look at the total number of credits taken. Those who took only the weighted courses and no others may be seen as not availing themselves of all the opportunities offered.
"Most high schools that use weighted GPAs will also include unweighted grades on a student's transcript, and colleges will usually use the unweighted number."
These thoughts may not help a student seeking specifically to be valedictorian, but they may prove helpful for college admissions and beyond.