Scott Wiener, a San Francisco Democrat, faces criticism after blocking a bill to prevent registered sex offenders from running for office.