An Islamic State suicide bomber struck at a mosque packed with Shiite Muslim worshippers in northern Afghanistan on Friday, killing at least 46 people and wounding dozens in the latest security challenge to the Taliban as they transition from insurgency to governance.