Doctors on the frontier of in vitro fertilization now offer to test embryos for predisposition to treatable cancers and other ailments using the same technique that detects some serious childhood maladies. As scientists learn more about the code that builds human life, critics warn of an age when the wealthy will be able to buy a healthier brood.