Given an isosceles triangle $ABC$ ($AB = AC$), the inscribed circle $\omega$ touches its sides $AB$ and $AC$ at points $K$ and $L$, respectively. On the extension of the side of the base $BC$, towards $B$, an arbitrary point $M$. is chosen. Line $M$ intersects $\omega$ at the point $N$ for the second time, line $BN$ intersects the second point $\omega$ at the point $P$. On the line $PK$, there is a point $X$ such that $K$ lies between $P$ and $X$ and $KX = KM$. Determine the locus of the point $X$.