The Participatory Turn in AI Design: Theoretical Foundations and the Current State of Practice