Ryan Reynolds knew Taylor Swift was the key to a State Farm marketing stunt