You will need to connect a Bluetooth transmitter with an optical audio input to the TV.
Check the TV manual on how to turn on and use the optical out. You will need to set it to PCM stereo in the TV menu. You may have to turn it on and turn the TV speaker off too. You can get one that allows you to pair two bluetooth devices or one that will pass the optical to a soundbar and to bluetooth headphones at the same time. http://www.avantree.com/long-range-bluetooth-transmitter-and-receiver-avantree-oasis-plus.html