President Obama says he opposes a proposed North Carolina constitutional amendment defining marriage as between a man and a woman — an amendment that polls show a majority of the state’s voters support.