The novelist who famously sat for an explicit portrait by her artist father when she was a teenager has written a revealing memoir about the chaos that was her childhood. She talks to Fiona Sturges about living in her ‘genius’ father’s shadow and why it is through writing about their complex relationship that she has made peace with it