A tight-knit community of young-adult writers who belong to the Church of Jesus Christ of Latter-day Saints has yielded smashes like “Twilight.” But religious doctrine can clash with creative freedoms.