Yes they do mean the same. However, to make it correct it's better to say,
"I don't talk TO you because I enjoy it. I talk TO you because I'm bored. "
And for the second option, it would sound a little more natural, and with a better structure having both sentences in one,
Example: "I talk to you not because I enjoy it, but because I'm bored."
I hope it helps!