Engineering vertical emission in THz quantum cascade lasers