There's no "right track" for you to get on. You're not even at the station and you haven't bought a ticket. There is no class you can take in high school or at a community college that will give you any meaningful advantage in either getting into law school or in succeeding once there.
The only thing I would recommend that you do at your age is to talk to friends and family in the legal profession and ask them what their lives and careers are like, or better yet, try to get a job working as some kind of office assistant at a law firm so you can see what it's like to work as an attorney (networking a must for this). This won't give you any advantages over other would-be law students, but it will allow you to make a more informed decision as to whether this is a career path you really want to follow.