You have to set a width and use the Width and Height option. Just set a large width and Lightroom will constrain the file once it hits 800px.
You should be able to just blank out the height field. Select it. Backspace the value away and tab to the next field. This will leave the field blank and will export with only the width constraint.