The president has long complained that the United States pays more for medicines than other wealthy countries. But he offered no clear legal authority to mandate lower prices.