Melt the butter in a large skillet. Add the shallot and garlic and cook over moderate heat, stirring until softened, about 1 minute. Add the corn and red pepper and cook over moderately high heat just until tender, about 4 minutes. Add the cream and tequila and cook, stirring, until slightly thickened, 3 to 4 minutes. Just before serving, reheat the corn and stir in the scallions, cilantro and lime juice; season with salt.