The Stormont Education Minister has been criticised for a trip to Israel during which he asked his department to highlight his visit to a school.