Social networks are under pressure to remove misinformation and grisly imagery from their platforms. A European regulator has warned Elon Musk’s X about its policies.