I am absolutely in favour of the courtesy of allowing for the personal feelings and religious obsevances of others. If I am dining with a vegetarian, I will ask if they are comfortable with me eating a meat dish, because that is simple courtesy.
So, as I see it, the Iranian party should have no issue with wine being available and drunk at the meal - perhaps, again as a courtesy, President Hollande could politely enquire if his guest was comfortable with wine being drunk at the table - and he could reasonably expect the affirmative response, because courtesy operates a two-way street.
If there is serious issues in the matter of wine being on the table, then this should be discussed between the two leaders' 'people' and resolved accordingly.
If I was the French president, I would think there are far more essential items on which to dig my heals in, rather than simple cultural differences over alcohol.