When Mr. Miranda accepted his award for best score for "Hamilton" at the Tony Awards, he said he was too old to freestyle. He wrote a sonnet instead.