Nope. The only time you cannot move your troops prior to the battle is if the enemy has a spy who SUCCUESSFULLY opens the gates to them. The only reason you never see the enemy utilize this is due to a bug that CA will most likely (better) fix in the patch.

It has nothing to do with wait time or castle versus city.