Lawmakers in California and New York seek to bar anyone under 18 from buying over-the-counter weight loss supplements online and in stores without a prescription.