Orientation bias of optically selected galaxy clusters and its impact on stacked weak-lensing analyses