Move to allow Muslim prayer at iconic 6th century former cathedral comes despite protests from US, Orthodox Christian leaders and could inflame tensions with Greece, Cyprus