Cubic–quartic optical solitons in fiber Bragg gratings with Kerr law of nonlinearity and dispersive reflectivity by Lie symmetry