Welcome, safeplace. Hey, at least Dad had the sense to get a safe for the medications. That's encouraging. I have a real life friend with this exact same issue. She had to allow her son to live with his dad. She knows the dad is too lenient, but attempting to force her son to live with her did not work.
I think you level with your son. You tell him that at your house there are rules and expectations and consequences. That's the way the real world works. You want him to be a complete part of your life. But allow him to choose to go live with his dad. He will probably make that choice, and it will be a bad one. He's only 15. I think to fight him on that choice places you in the forever role of "evil mother that came between them."
I'm so sorry. I know you are devastated. Just know that some of us have kids who are derailing and still living with us. Some young people have to learn life lessons the hard way.