I think I heard an NPC in the game telling me about the connection of talking to your Pokémon and it's friendship level, but I can't correctly recall and I'm unsure.
These 2 pages don't say that talking to Pokemon changes friendship, so I think it's almost certain that talking to Pokemon does not change friendship. source source