Groomed and ungroomed jet angularities and mass in Pb-Pb collisions at $\sqrt{s_\text{NN}}=5.02$ TeV