Example 4 A four-digit number has the sum of the squares of its first and last digits equal to 13, and the sum of the squares of its middle two digits equal to 85. If 1089 is subtracted from this number, the result is the same four digits written in reverse order. What is the original four-digit number? $\qquad$
(1994, Dongfang Airlines Cup - Shanghai Junior High School Mathematics Competition)