Bitcoin broke out of a narrow trading range and wiped away this year’s losses amid a broad rally for cryptocurrencies, sparking speculation that the biggest digital asset could advance past the $50,000 mark soon.