Whisk together white rice flour, potato starch, cocoa, ground chipotle, baking powder, salt, and xanthan gum in a small bowl. Cream together butter and granulated sugar in a medium bowl with an electric mixer on medium speed until thick paste forms, about 30 seconds. Stop mixer. Scrape down bottom and sides of bowl. Add egg. Cream on medium speed until light and thoroughly combined, about 30 seconds. Stop mixer. Add dry ingredients. Mix on medium-low speed until dough forms, about 2 minutes. Dough will be dry. If after two minutes, dough does not form, add one teaspoon milk.