doc: Clarify `is_decoder` usage in PretrainedConfig documentation (#36724)
* fix: clarify decoder usage in PretrainedConfig documentation
* Apply suggestions from code review
updated doc
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>