Application of relativistic distorted-wave method to electron-impact excitation of highly charged Fe XXIV ion embedded in weakly coupled plasmas