A federal appeals court has upheld a Texas law that says teens need parental permission to get birth control in federally funded family planning clinics.