Will Smith's 'Emancipation' role taught him lesson post-slap