The author shares the inspirations—from an island foursome to a row at a friend’s party—that brought his debut novel to life.