command/output: get the state path from the workspace or CLI argument (#20994)
command/output: get the state path from the workspace or CLI argument (#20994)

Previously this command was setting the state path to the default state
file, instead of honoring the backend configuration.
ewbankkit/terraform,heimweh/terraform,apparentlymart/terraform,apparentlymart/terraform,heimweh/terraform,heimweh/terraform,pryorda/terraform,hashicorp/terraform,VladRassokhin/terraform,pradeepbhadani/terraform,hashicorp/terraform,VladRassokhin/terraform,gechr/terraform,rnaveiras/terraform,tommynsong/terraform,apparentlymart/terraform,VladRassokhin/terraform,pryorda/terraform,VladRassokhin/terraform,rnaveiras/terraform,rnaveiras/terraform,drebes/terraform,brandontosch/terraform,drebes/terraform,heimweh/terraform,drebes/terraform,apparentlymart/terraform,gechr/terraform,gechr/terraform,apparentlymart/terraform,luis-silva/terraform,ewbankkit/terraform,tommynsong/terraform,heimweh/terraform,pdecat/terraform,tommynsong/terraform,brandontosch/terraform,ewbankkit/terraform,pdecat/terraform,luis-silva/terraform,pdecat/terraform,ewbankkit/terraform,pryorda/terraform,drebes/terraform,pradeepbhadani/terraform,pradeepbhadani/terraform,nlamirault/terraform,luis-silva/terraform,brandontosch/terraform,brandontosch/terraform,nlamirault/terraform,pdecat/terraform,brandontosch/terraform,nlamirault/terraform,hashicorp/terraform,luis-silva/terraform