Paedophile hunters 'overstepped the mark' by falsely imprisoning suspected child sex offenders, court hears