ANSWER:

Your prayer is valid. Witr is not a mandatory prayer, it is a highly recommended sunnah, you will be rewarded a great deal if you pray it, however you are not sinful for not praying it.
Kindly refer to the following link(s):

 

Sheikh I working nightshift in my company…morning Dhuhr,Asr,magrib I will pray in room. Isa I will pray in company then I used to pray witr after 4 clck.. last 2 days I missed witr. But I prayed isa in a correct time..did my prayer is invalid.. sheikh..

Prayer |