Pao, a polarizing figure in Silicon Valley after a high-profile gender discrimination suit, stepped down as the leader of the popular social-networking and news site after hundreds of thousands called for her to resign.