Milo Yiannopoulos, a media provocateur who had become an outspoken voice in conservative politics, has resigned from the hard-right news site Breitbart News after a video surfaced in which he made remarks that appeared to condone sex between grown men and underage boys.