You might not like the idea of writing someone else’s book—but the hidden benefits of ghostwriting could just change your mind. Here’s why so many writers are taking this lucrative path, how to know if it’s right for you, and what you need to do to break in.