A prominent Tory has announced he is quitting the party because it has moved away from his political beliefs.