First papal state visit to country in 18 years comes as church confronts contentious issues.