Folding Rate Optimization Promotes Frustrated Interactions in Entangled Protein Structures