Benzoxazine resin based on menthane diamine main chain and preparation method thereof