Draw a wrapped string at a specified startX and startY position with a maxWidth. The end position will be returned.