Quartic beams of temporal solitons in a nearly-degenerate laser cavity