No, you can't. HDMI ports on laptops and the Xbox are for output ONLY.
So what you're planning isn't going to work. So while you can output from the laptop, the Xbox can't receive anything.
Why don't you just plug the laptop via HDMI directly to the TV.