The suspected attacker’s many posts on social media site X reveal him as a critic of Islam who railed against Muslim immigration into Europe.