Confirming speculation about the end of his 20-year rule in Bihar with a post on social media, Mr. Kumar declared that he had a “desire in his heart” to become a member of both the Houses of Parliament.