A wave of elections coincides with state influence operations, a surge of extremism, A.I. advances and a pullback in social media protections.