Switching frequency for transverse modes in stripe-geometry injection lasers