A study of more than 2,000 people in the United States and China finds that the line between medical and nonmedical traits, which underpins rules on embryo testing in most countries, does not match public preferences.