Encrypted messaging app Telegram has raised $1.7 billion from a small group of private investors and called off a planned sale of cryptocurrency, according to a person familiar with the company’s plans.