An 18-year-old man planned to attack churches in a northern Idaho city using a metal pipe, butane fuel, a machete and, if he could get them, his father’s guns, according to federal prosecutors who charged him with attempting to provide material support to the Islamic State group.