Fermi Detection of a Luminous γ-Ray Pulsar in a Globular Cluster