Witr is not mandatory but it is highly recommended and the Prophet salla Allahu alaihi wa sallam has never left it neither he was residing nor when traveling.
The Prophet salla Allahu alaihi wa sallam encouraged Muslims to perform witr by telling them to observe witr.