Nonlinear fractional wave equation on compact Lie groups