First things first: You must have destroyed AT LEAST the two platforms on the far right with the explosive barrels, thus isolating the far right tower with turrets. This prevents the Queen from landing on the same level as you.

This is the platform you can trap the Alien on. Call it Trap Tower. What you do is either jump to it or climb up it when she summons an Alien. Once that Alien is scaling the ladder after you, jump to the left and land in the platform. In my experience, if you fall down the Alien will follow, so it won't work if you miss. You must actually jump and land on the platform or grab the ladder higher than the middle platform. It did not follow when I missed but grabbed the ladder that high. As soon as I had one foot lower, though, the Alien attacked. Don't worry about the Queen's jump. I've only ever been hurt by that if I was in her landing space.

This is where you will land. Call it Safe Tower. You are higher than the Queen, meaning she is left only to jump. On the right you see the previous platform, Trap Tower, and that is where the Alien remains as long as you do not leave this platform - Thus the name Safe Tower. The Queen will attack and scream and jump, but she will not be able to harm you. You can, if you so wish, descend to the middle platform to get some attacking in, but this puts you in range of her attacks and she may knock you to the ground.The Alien should not leave Trap Tower until you try to go lower than the middle platform on Safe Tower.

It should be noted that I only discovered and used this as a last resort. I had no bombs and no ammo. Just my pistol remained. It slows the battle down quite a bit, as your only chances to shoot her are mid-jump unless you can safely get some attacks in from the middle platform. It is possible, and I imagine you'd want to use your better gun ammo in this fashion so none is wasted.
And that's it, really. Rather simple, though I personally only see it as a last resort situation because of how slow the battle gets.
Added Note: In moving to finish that battle, I accidentally got knocked by the Queen. She knocked me to the left, AWAY from the Trap Tower, and even after reaching over halfway to the other end the Alien was still stuck. Need to check it more to see if descending from the Safe Tower a certain way allows it to stay stuck.
Note 2: It does not. I don't know if it was extended time on the ground, or getting so far away, but the Alien did break free.