I'm going to guess that the answer is: You can't.
First, your Roku is a stick and those don't have IR receivers. Most other remotes are IR-only.
Roku "box-style" models like Express, Ultra etc. have IR receivers. (Sticks don't because they're usually behind the TV anyway.) But whether your Bose remote knows codes for them - I have no idea.
But maybe your Bose remote can do more than I am guessing it can do.