Girls who gain weight more rapidly between the ages of 5 and 15 are more likely to be obese at age 24, according to researchers.