When Sam Clemmett signed on to play Albus Potter, Harry Potter’s youngest son, in Harry Potter and the Cursed Child, he was aware of the risks.