The ascetic of Assisi – who has since become a mascot for the environmental movement – will be the star of a National Gallery exhibition.