Looking at one's private parts does not invalidate Wudu'
Is it permissible for a person to touch the Mushaf or offer Salah (Prayer) if it happened that they looked at their ‘Awrah (parts of the body that must be covered in public) while performing Wudu’ (ablution)?
Yes, it is permissible. Looking at the ‘Awrah is not one of the annulments of Wudu’.
May Allah grant us success. May peace and blessings be upon our Prophet, his family and Companions