A Hindu priest known for his inflammatory religious rhetoric has been chosen as the head of India's most populous state, where 200 million people live.