If we say that it does invalidate wudu, that is on condition that there is no barrier. “The ruling on touching the penis of another person depends on whether it was done deliberately or whether accompanied by desire.” Imam Ulaysh said in Minah al-Jaleel Sharh Mukhtasar Khaleel (1/113):