Tuning Superconductivity and Competing Phases in an Iron-based Superconductor with Uniaxial Stress