The attack on Brazil’s Congress was organized publicly online. Despite being on high alert, social media companies missed signs that their platforms were being used to plan violence.