Interaction server, computer program and method for adapting modalities of dialogue between a client and a server