Bucks signing former Damian Lillard teammate in free agency