A top jockey has handed in his racing license in protest of British horse racing's new whip rules, after incurring two bans in the first week of their implementation.