Uncovering the orbital dynamics of stars hidden inside their powerful winds: application to η Carinae and RMC 140