An 18-year-old from Idaho has been arrested and accused of plotting to kill churchgoers in his town in the name of ISIS, court documents say.