Signatures of anisotropic sources in the trispectrum of the cosmic microwave background