Nick Kyrgios was defeated by Mpetshi Perricard in his first singles match since an 18-month injury lay-off.