A three‐dimensional numerical method for thermal analysis in X‐ray lithography