A 17-year-old from Carlsbad, California, has become one of the world's youngest pilots after earning his private license.