Sum‐frequency generation in segmented KTP waveguides