The Princess of Wales was met by shouts of “we need more funding” and “tell them the truth” from women inmates when she visited a prison’s mother and baby unit.