The books interview: The academic turned author talks to Alex Clark about modernism, imagination and why she could never be a lawyer