Based on your description, the textbook doesn't say that the four-vector $(\vec{k},\omega)$ is Lorentz-invariant. It says that $(\vec{k},\omega)$ transforms as a Lorentz vector.
When you apply a Lorentz transformation, the vectors $(\vec{x},ct)$ and $(\vec{p},E/c)$ change. The position of an object in spacetime is not the same in every frame, and its momentum and energy are not the same either. Instead, the way that those vectors change is well-defined; in particular, for a Lorentz transformation with boost velocity $v$ and Lorentz factor $\gamma$ in the $x$ direction, we have that the new four-vectors $(\vec{x}',ct')$ and $(\vec{p}',E'/c)$ are given by:
$$\vec{x}'=\gamma(x-vt)\hat{x}+y\hat{y}+z\hat{z}$$
$$ct'=\gamma\left(ct-\frac{vx}{c}\right)$$
$$\vec{p}'=\gamma\left(p_x-\frac{vE}{c^2}\right)\hat{x}+p_y\hat{y}+p_z\hat{z}$$
$$\frac{E'}{c}=\gamma\left(\frac{E}{c}-\frac{vp_x}{c}\right)$$
The Lorentz-invariant quantities that are derived from these vectors are Lorentz scalars. In particular, the dot product of two Lorentz vectors is a Lorentz scalar. So, from these two Lorentz vectors, we get the following three Lorentz-invariant quantities:
- $(\vec{x},ct)\cdot(\vec{x},ct)=c^2t^2-\vec{x}^2$, which is the squared spacetime interval between the origin and the point described by the four-vector;
- $\left(\vec{p},\frac{E}{c}\right)\cdot\left(\vec{p},\frac{E}{c}\right)=\frac{E^2}{c^2}-\vec{p}^2$, which is the squared rest mass; and
- $\left(\vec{p},\frac{E}{c}\right)\cdot(\vec{x},ct)=Et-\vec{p}\cdot\vec{x}$, which as far as I know does not have a common name.
The exact same thing applies to the $(\vec{k},\omega/c)$ four-vector. If you apply that same Lorentz transform, this new four-vector $(\vec{k}',\omega'/c)$ is given by:
$$\vec{k}'=\gamma\left(k_x-\frac{v\omega}{c^2}\right)\hat{x}+k_y\hat{y}+k_z\hat{z}$$
$$\frac{\omega'}{c}=\gamma\left(\frac{\omega}{c}-\frac{vk_x}{c}\right)$$
Adding this to the other four-vectors, we can have a total of six Lorentz scalars. In addition to the three described above, we also have:
- $\left(\vec{k},\frac{\omega}{c}\right)\cdot\left(\vec{k},\frac{\omega}{c}\right)=\frac{\omega^2}{c^2}-\vec{k}^2$, which describes the dispersion relation of the wave;
- $\left(\vec{k},\frac{\omega}{c}\right)\cdot(\vec{x},ct)=\omega t-\vec{k}\cdot\vec{x}$, which is the phase of the wave; and
- $\left(\vec{k},\frac{\omega}{c}\right)\cdot\left(\vec{p},\frac{E}{c}\right)=\frac{\omega E}{c^2}-\vec{k}\cdot\vec{p}$, which as far as I know doesn't have a common name.