Here's how J.K. Rowling, author of the highly anticipated 'Harry Potter and the Cursed Child,' turned rejection into unprecedented success