The first flare captured by the X-ray telescope STIX