Man accused of attempted abduction walked out of Dublin building with child (5) ‘under his arm’, court hears